package com.xianyl.libsforandroid.model;



/**
 * 帐号的对象类,  后面扩展的类 User /  member
 * @author xianyl
 * @date 2015-3-1 下午7:22:10
 */
public class Account extends People{
	private static final long serialVersionUID = 1L;
	
	private String password;
	private String email;
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	
	
	
	@Override
	public String toString() {
		//显示格式为  name (email)
		return new StringBuffer(this.getName())
					.append(" (").append(this.getEmail()).append(")")
					.toString();
	}
	
}
